package com.boss.core.manage;

import com.boss.core.manage.BossConfiguration;
import com.boss.core.manage.BossProperty;
import hudson.model.Descriptor;

/**
 * Descriptor for Boss Property
 * @author Momin Noor Khan
 */
public abstract class BossPropertyDescriptor extends Descriptor<BossProperty> {
    public BossPropertyDescriptor(Class<? extends BossProperty> clazz) {
        super(clazz);
    }

    public BossPropertyDescriptor() {
    }

    public abstract BossProperty newInstance(BossConfiguration configObj);

    public boolean isEnabled() {
        return true;
    }

    public String getDisplayName() {
        return "Boss Property Descriptor";
    }

}
